package com.ruoyi.game.domain.dto;

import com.ruoyi.common.base.BaseDTO;
import com.ruoyi.common.core.domain.model.LoginUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Program: miaomiaokaituan
 * @ClassName: GameRoleDTO
 * @author: zhouzihao
 * @date: 2024年10月30日, 0030 下午 05:42
 * @version: 1.0.0
 * @Description:
 * @Time： 2024-10-30 17:42
 */
@Data
@ApiModel(description = "角色职业编辑对象")
public class GameRoleUpdateDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;
    /**
     * 角色职业id
     */
    @NotNull(message = "角色职业id不能为空")
    @ApiModelProperty(value = "角色职业id", required = true)
    private Long roleId;
    /**
     * 角色职业名称
     */
    @NotBlank(message = "角色职业名称不能为空")
    @ApiModelProperty(value = "角色职业名称", required = true)
    private String roleName;

    /**
     * 心法
     */
//    @NotEmpty(message = "心法不能为空")
//    @ApiModelProperty(value = "心法", required = true)
//    private List<GameXinfaAddDTO> gameXinfaList;

    /**
     * 登录用户
     */
    @ApiModelProperty(value = "登录用户", hidden = true)
    private LoginUser loginUser;

}